Skip to content

Improvement: Support Collision Detection #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hungify opened this issue Dec 28, 2024 · 1 comment
Open

Improvement: Support Collision Detection #171

hungify opened this issue Dec 28, 2024 · 1 comment

Comments

@hungify
Copy link

hungify commented Dec 28, 2024

I’m working on improving drag-and-drop functionality for card components in a company project. The current feature works well, but the UX/UI team has requested a key enhancement: instead of triggering the drop when the mouse pointer enters the drop zone, the drop should occur when the edge of the dragged card contacts another card.

This would use collision detection, similar to the example: Collision detection

Resource

@declan-warn
Copy link
Collaborator

Hey @hungify I don't think this will ever be built into the core library, but I don't see why it couldn't be built on top of it.

We are very unlikely to build this though. We intentionally moved away from the physicality of react-beautiful-dnd to unlock improved performance, flexibility and accessibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants